home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / bootmenu.arc / BOOTMENU.DOC < prev   
Encoding:
Text File  |  1986-08-09  |  3.2 KB  |  82 lines

  1.                                  BootMenu
  2.                                  Ver 2.10
  3.                                  ========
  4.  
  5.      I've made up quite a few turn-key systems in the last few years and
  6. to tell the truth programming in DOS batch files is slow.  That's when I
  7. realized the need for BootMenu.  Bootmenu is a small program written in
  8. Turbo Pascal that takes most of the work out of multi-optioned batch files.
  9. Here's How to use it.
  10.  
  11.  
  12.   I. INITialization - At the DOS prompt Type "BOOTMENU INIT" and you will
  13.                       see a list of six options to choose from.  These
  14.                       allow you to customize BootMenu to your own application.
  15.  
  16.           1. Normal Color  : Choose one of the 128 colors ( some may not
  17.                              appear on Monochrome displays ).
  18.  
  19.           2. Reverse Color : Same as above.
  20.  
  21.           3. Title Name    : Enter the name of the menu that will be centered
  22.                              at the top of the Screen. Examples:
  23.                              " Viking SoftWare Main Menu "
  24.                              " Bill's Computer System "
  25.  
  26.           4. Menu List     : Enter up to 19 menu choices and their exit codes.
  27.                              The Exit Codes can be any number from 0 to 255
  28.                              and will be used to tell our batch file what
  29.                              option was choosen through the ErrorLevel code.
  30.  
  31.           5. Save Changes  : This will update your version of BootMenu with
  32.                              your personalized settings. You MUST save the
  33.                              changes if you want to keep them.
  34.  
  35.           6. Exit          : Self explanitory.
  36.  
  37.  
  38.   II. Usage - Once you have initialized BootMenu you can now see how good
  39.               it looks.  At the DOS prompt type "BOOTMENU GO".  Use the up
  40.               and down arrows to select an option and then press return.
  41.               Isn't that nice ?  But we're not done yet.  We must now create
  42.               the batch file to control our system.  A sample used to play
  43.               games is shown below :
  44.  
  45.               echo off
  46.               :begin
  47.               Bootmenu go
  48.               if errorlevel  5 goto exit
  49.               if errorlevel  4 othello
  50.               if errorlevel  3 lemonaid
  51.               if errorlevel  2 roulette
  52.               if errorlevel  1 gwbasic poker
  53.               goto begin
  54.               :exit
  55.               cls
  56.               echo Thank you for playing...
  57.  
  58.    You can See that our menu has five options. The fifth being exit to DOS.
  59.    Please note that the ERRORLEVEL checking is done in decending order.  DOS's
  60.    Batch interpreter needs them that way in order to work properly.  I think
  61.    You have enough info here to get you going.  If you use this program and
  62.    find it usefull a donation of $ 5.00 to the address below will be greatly
  63.    appreciated.  Also any comments or sugestions about to BootMenu will help
  64.    to enhance future versions.
  65.  
  66.                                     Michael A. Toscano
  67.                                      Viking SoftWare
  68.                                     20 Smallwood Place
  69.                                  N. White Plains NY 10603
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.